exercise 3.35 done