exercise 1.10 done