use simple concat instead of reduce for joining final output