get_x_structure library