getConfidence() modified