this closes #51