Begin of refactoring alarmlist