filter patter - filter working correctly