changing char array types