exercise 3.4 done