modified non-bayesian stuff