read in 2nd and 3rd line into buffers