Use controller to create input filter