add filter to adapter