added service exist checks