Implemented stepper control