arrayIntersect method added