usign alarms and notification together