DGM generation