add include statement for std::min