adding increments to loops