rename element to aAlarm and you don't use the index or array so remove them