documentation for global