changed it back to erase data objects from priority queue and now properly deletes data objects when they are erased from the queue