flyweight example changes