intersection of 3 elements