exercise 3.57 done