merging all objects