[add] new logic for filter