Reconstructing the repository