add repository model