editor is rewritten, data manager modified