only call identifyLine if next line exists