exercise 3.34 done