adds a simple filter controller
refactors