add newline
maintain an order