new editor funcs