new bayes equations