actually use the factory instead of printing it