adding id variables to the data
mend