Stepper code fully working