exercise 1.20 done