Changed the re-addition of newline