Added dmfusion code