a decorator sample base my understanding