FUNCTIONAL VIEW AND CONTROLLER