new editor class