Finish Exercise 1.17