fix for #11
Merge pull request #12 from cbusbey/issue_11

fix for #11