Add bernoulli distribution