solve exercise 26.04