implemented the recurring alarm - working