removed pass from process_alarms