Adds priority queue