updated factory section.