1 more priority queue function