exercise 3.71 done