add code to serve a service