increment the loop variable