closes #271