implement some service control methods