added newlines at eof