make delay have a default instead of being required