why deque error?
passed basic test