Changed all char * to const char *