add methods to repo