updated to work with DDG