added bayesian lib