exercises from the tutorial