updated factory file