added super logic for factory