(refact) passes: Extract logic into filters