Adding a category view
encode added, chapter 6 finished