added a concatenation function for the objectarray