enhanced the object merging process