half way through exercise 2