added base view class