Done with the queue and deque