Homework for class 3