added decision net code