exercise 2.2 update