Implement union selector