extracted filter by experience function into functions class for parameterized reusability