service discovery working