added data, view class and view instance