exercise 3.1 done