constructor for recorded alarms