more work on Deque.