restructured DBN a bit in terms of method signature