updated the tutorial exercise