only one way to loop over the lines