chapter 10: exercise 1