Complete exercise 1 from 3.5