modify scopes