Exercise 1.7 done