write up exercise 2