added trailing \n