completed 10.1 of exercise 2