exercise 2.1 completed