Moved functionality to model, but how to call that method in the controller ?