attempting to get the factory pattern loosely going again.