Implemented Decorator pattern