Added a function to add filters