Working on new filter function pipeline