added ability to have duplicate queues