Final task using the flyweight pattern