not tested in view class