updated triangle_spec