Repo restructuring