completely replaced QMap with std::map