lesson 09 view_classes refactor