working getDataIDs method, but not fully tested