added di_alarms to permanent memory