testing triangulate