repos_array[r] - needed index