implemented addTriggerInfo().