book exercise 3-8