added alarm subsystem