remember the order of ungrouped variables