adjusted repo structure