solve exercise 20.32