rename funcs in filter.py