patron distribution functions