added document editor, deleting