Changed char pointer to const char pointer