added time delay for alert msg