Complete exercise 4