what if lines.length <= 2?