now looks for endlines in the buffer