correction of exercise 3