creating the object structure