properly implemented the 'like' predicate