Exponential and Bernoulli random variables