repo functions add