Change obejct to object