Complete Exercise 2.7