exercise 1.11 done