restructuring repo