deprecation of repository