Little improvement of repo