added MaxPriorityQueue to the list