Added bernoulli