add deque
add deque