Some starter code for creating alarms