dg method