changed cut_into_lines
merge