add newline support