add filter pattern