completed up to exercise 6