add pointer to a string and char array
add const