increment loop variable