solve exercise 37.01