added the filter class