more elegant way to take account of the line feeds