Some work to make the alarms functional