Adding triggering for alarms