finished all repo methods