reduced the waiting time to 3 seconds