tnode gtemp
merged and fixed