giving a distribution function of a value