add decorator pattern example