Refactored process predicate