example MVC procedural