this closes #45