Adding Dictionary enumeration to keep the predicate block separate from the processing block.