minor changes in stepper.py