adjustments to the new alarms API