Finding unions and other useful things