solve exercise 38.02