doing minimization