Generating array_i myself