added tris.py