Complex nesting example