exercise 3.6 done