actual way to do predicate contains