this closes #49