This needs to be "< input_lines.length".