updated for bayesian commit