added stepper code