working on the editor