Exercise 1-6 chapter 9