changing filtering procedure