Changed error to error!= nil
removed space
Adding filters
Committing files
Merge pull request #3 from ankur-gandhi/master

new changes with filters