chapter 11: exercise 17