Change char* to string
charPtr to string