exercise 7 -unfinished