addFactory