That's what I meant, here we can't use const string& so I used string.