we need the registry in client