view logic and more classed based view tricks