add_triangles now fully functional