exercise 3.38 done