switched to the deque