set waiting time from 5 to 2 seconds