Decorator pattern exercise