add newline to write!