closes #248