add the concatenation method for class