exercise 3.8 done