split dbn into 2 ways
bug fixing