should check the maximum confidence.