basic alarm set/trigger functional