Using string instead of char