flat to MVC