Use union to group related variables