renaming criteria to filter.