using new implementation of array_with_lines