TRIAGE WITH WORKING CODE UNTIL FIRST FILTERING