Add deque snippet