updated list with priority queue