updated MVC example