Finish Exercise 3.5