reconstruction of repo