solve exercise 25.02