random on pattern, parameterizing delay