uniform distr implemented