random queue with random iterator