learning about the union operator on array