solve exercise 25.20