Expand cf to factory