get rid of legacy 'get_ds()' function