Completed chapter 7 listing 1