fixes issue #9
Merge pull request #12 from aslansky/master

Fixes issue #9