thorugh triangle testing