closes #166