array intersection and array prototype  added