confidence scores, cleanup