added the triangle number to be put in the xml files