changed factory, enlarged char field