correctly identify right triangle...