adding an editor