set delay to 5 seconds