modify the rule of newline