arguments $raw_lines, $str renamed to $lines