consolidate vars