trying to get the priorityQueue