added a view class