string writing edits and benchmarks