first submission of queues
Change tail when dequeue.