[Filter]Quick implementation of filtering