exercise 1.42 done