finish deque