expose scopes to ui