added repos' loading function