chapter 6, up to 6

completed chapter 5