adds newline at the end