exercise 3.78 done