solve exercise 38.01