closes #249