Changed char* to string