Renamed filterFn to filter