improving way factory is handled