added tr support