add bernoulli to enum support