change delay from 1000 ms to 5000 ms