line-by-line to the rescue