added time to wait b4 a alarm