changed to ```- std::numeric_limits<double>::max()```