add a function to concatenate keywords in an array.