Method addQueues()