restructuring repository