add method for detect the intersection