editor is now state free