hit an obstacle in std::deque... it's going to take a lot of work to get around this one