moving to class based views