solve exercise 20.26