change mod method to repo