changing the queues