changed waiting time.