added service management function