first attempt at removing class based views