adding conditionals for (-) remove filter function