Finish Exercise 3.8