Moved the filter worker method to model