adding trailing newline