initial tex serializing