Working controller with proper parsing of correlation type