testing intersection recursion