make delay user settable