added beta-binomial example