started on argmin which basically only uses argmax with a composed negate