Pattern Decorator : static and dynamic decorator