fixes issue #4
Merge pull request #6 from cgkineo/issue/#4

fixes issue #4