update add filter function
Merge pull request #1 from hopkings2008/master

update add filter function