Moved code to a modeler class for recipient recommendation