chapter 2 example 9