thinking about creating a BaseView class