add filter logic for tomato showing