Merge variables into one