added char array creation