add eage for bayes