Completed chapter 6 - methods