Pull Request for the sixth issue

Fixes #9