Adding input filter factory