Complete Exercise 3.5