works on editor