don't remove ending newline, closes #15