fixed bug 8
Merge pull request #20 from bethmhadley/master

fixed bug 8