make use of Object.create in flyweight