Ch9 exercise 9.6.8 - 9.6.9