use prefix operator for variable increment