Working on Exercise 3.