not sure about the character array and pointer