renamed betterObject to extendedObject