replaced 'const char *' with 'const string&' for record