#17 minor modification of tutorial.py