Fix for #17
Merge pull request #18 from hemanth/master

Fix for #17