stop allowing repeated elements in priority queues