this closes #7 on GitHub