reverting old factory creation