added eof newlines