solve exercise 38.04