add start service function