proper object nesting