support for many queues