move priority queue into dataStructure