refactoring concat task a little