Added deque, doesn't work