working on the object structure