adding new feature called filtering