Main factory