a sample code for MVC added