add filter function option