personal clone of bnlearn package