revised: dwg.dump