changes to priority queues