adding service discovery