use string instead of strcat