completed revision exercise 1