add deque class