doing the queue