closes #46