work in progress for different handling of variables in TDL