fixes issue #5
Merge pull request #9 from brucekeats/issue5

fixes issue #5