modifying to use string instead of unicode