added trailing newlines