finished making stepper.py a context manager