Improving randomRepositories abilities