Fitting the factory into the framework