adding nested attribs