now acts as a stepper through the loop