DBN Language Implementation