3.x discover working in client code