opt view class