exercise 1.30 done