Changed the delay to 1 second