worked on editor state