exercise 17.17