doc scopes