objectSame simplified