new functions: confidence, normalization