merge many variables into one var