string concat refactoring