final pdf exercise 2