changed the name and modified the PhraseTrigger class