second draft of bayesian testing post
fixed merge conflict