Changed delay to seconds