Improved object to object concatenation code