exercise 9.3.4, Page 314