this closes #50