adds multiple scopes example to docs