repo data functions