adds hasIntersection helper