finishes exercise 1