add Bayes and BinByBin methods