closes #299