changed unions around