make sure the method name has a value
removed the abstract view() method. It is not required