reg in variables