this has been moved into DGS.m with a rename.