fixes #5
closes #10