solve exercise 25.01