a model of a factory