in-class exercises for session 10