priority queue completed