constructor now has constant char *