Revised mvc/controller.