adding deque