adding trigger matching
adding trigger matching