simplify
return std::pair