Completed chapter 4 listing 1