correction of exercise 2 (home work)