Add confidence() method