added /trs funcitons