changed draw queue to std::map