exercise 2.71 done