finish exercise 2.37