added array merge object comparison