arrange the repository