exercise 1.21 done