developing randomizedQueue