added examples and nesting information