closes #247