fixes #10
Merge pull request #13 from jchn/fix-issue-10

fixes #10