added the View class.