fixes #3 issue

Awesome job! Go ahead and merge this back into master.