changed tgd mixin