fixed issue 10
Merge pull request #21 from karsonota/master

fixed issue 10