exercise 3.24 done