rechanged doc struct