Finish Exercise 5.6