added time to wait