undo seems to be roughly working