exercise 3.82 done