validTriangle version