added class Alarm