add txtfactory