rev exercise 5 unfinished