priority queue ftw