closes #47