added back the filter function
small format change
Merge pull request #340 from LI-HE/master

added back the filter function