add one class based view