end of exercise 1 homework 2