cleaned up getDataIDs method