solve exercise 25.11