some DDG helper functions renamed