Exercise 3.4, 3.5, 3.6