modified sleep interval to 3-5 second