cleaned init in Factory.class