add std::map to indices