add id to variable