add Bayesian stuff