re-structuring repo