factory main exit