solve exercise 32.16