Implemented intersect.