add isdefined(transmode)