add newline at the end