change method to prefix from do changed to repo