adding service discovery.