Wouldn't it be better to do this in *performFiltering* ?