exercise 7 (r)