chapter 10 - added refresh service