apply filter is almost done