             }
         }
     }
-
-    print("\ncommonIndent: \(commonIndent)\n")      // debug
     
     var newLines: [String.UTF8View.SubSequence] = []
     if commonIndent != 0 {
         for idx in lines.indices {
             let line = lines[idx]
-            // pretty sure they are dropping thinking about """\n which we already drop
             if idx == lines.startIndex {
                 newLines.append(line)
                 continue
             }
             newLines.append(line.dropFirst(commonIndent))
         }
-        
-        for line in lines { print(String(line)) }       // debug
-        print()
-        for line in newLines { print(String(line)) }    // debug
-        
         lines = newLines
         newLines.removeAll()
     }

        }
        newLines.append(line)
    }
    
    for line in newLines { print(String(line)) }   // debug
    
    lines = newLines
    newLines.removeAll()
    print()
    for line in lines { print(String(line)) }     // debug
    
    for idx in lines.indices.reversed() {
        let line = lines[idx]
        if newLines.count == 0,

            result.append(contentsOf: Substring(lines[idx]))
        }
    }
    
    return String(result)
}
