Converted fragment service into discovery service