restructuruing the document