exercise 3.37 done