Fixes #3. Not sure how it got marked as closed before this