add BasicView class.