learning case of repo