generalize minimizer