repo restructuring