global edit (unfinished)