completed chapter 4 - design