restructuring of repo