checked and sort of working.
double alarm entry on alarm add.
ways to speed up?