go back using PriorityQueue