Union, intersection work