preparing the repository