added a local service example to chapter 6