changed the document structure