+bayes&some changes