changed search to use single comparison predicate

multiple predicate was too difficult