exercise 3.48 done