solve exercise 32.21