change unstructured structure to istructure