add methods for trigger handling