add bayesnet