solve exercise 37.04