Complete exercise 3