implemented Intersect.