Finish Exercise 3.7