exercise 2.37 completed