+ use const-reference as argument to avoid tmp. copy + use prefix incremation operator instead of postfix increment operator