exercise 3.54 done