Rewrite the filter loop