writing chapter 3 - decorators