minor changes to the Confidence class