add object compare