setting scopes