use bernoulli_logit and clean up a bugs example model