documentation for nested context