getting the MVC to work