some changes for paper/Bayes test