factory main exit extract