Randomized queue