init factory timing logic