equality and queues