#177 parameterize Bernoulli distribution