Changing object structure