added exclude function
Merge pull request #137 from razitz/master

added exclude function