Exercise 1-18 completed