get rid of Editor class