Create internalFactory