MaxPriorityQueue API added