Move guessing increment to the top of the loop