if `arrayIndex` is always equal to zero, why not use directly `0` (and `1` after it gets incremented?)