I am writing a bash script to loop through all the directories and rename the directory to the value of the array, but it seems my (i th) value is not incrementing correctly and it also says "(i th) command not found" when I run my bash script.

Here is my code: I replaced the values inside `Unix` with place holder values. 

```
#!/bin/bash 

declare -a Unix=(value1 value2 value3 .... );

i = 0
for d in */; do 
    echo ${Unix[$i]}
    #mv $d ${Unix[$i]}
    (($i+1))
done

```