added stuffs about the editor