We don't need to clear the filter. 
filter function overwrites the old one