turning public the priviate dgrm at UDGM.java