Group functions based on MVC approach