added tr function