exercise 9.5.5, Page 328