add newline to end