more switches to class based views