Some minimization functions for special needs