Work on exercise 7