changing filter creator to meet specification