tweeked search to use confidence threshold