use table.concat to improve performance