chapter 11: exercise 12