std::pair is not used