made char array a pointer instead of a literal