BayesNetwork changes