trying to make filter work