add method to find all trs, fix bug with search