added predicate support to Record