triangles save - still needs debug