exercise 6, chapter 9