exercise 10.2.2, Page 342